#pragma once
#include "Vector3.h"
#include "PickRay.h"

namespace lib3dw
{
	class Box
	{
		public:
			Box();
			~Box();
			bool Intersect(PickRay* r, float t0, float t1) const;
			void Draw();
			void SetTranslation(float x, float y, float z);
			void SetScale(float x, float y, float z);
			void UpdateParameters();
			Vector3 parameters[2];
			
		private:
			Vector3 translation;
			Vector3 scale;
	};
}